package com.atguigu.eduservice.remoteProcedureCalls.ExceptionImpl;

import com.atguigu.eduservice.remoteProcedureCalls.OrderClient;
import org.springframework.stereotype.Component;

//这个实例也要注入哦
@Component
public class OrderClientExceptionImpl implements OrderClient {
    @Override
    public boolean isBuyCourse(String courseId, String memberId) {
        System.out.println("调用模块 service-order 中的 查询订单状态方法 出错！");
        return false;
    }
}
